-
Notifications
You must be signed in to change notification settings - Fork 152
Update email subject example to use first alert target #205
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Updated the email subject example in the alert customization documentation to use the correct syntax for array fields in the common alert schema. Replaced `${data.essentials.alertTargetIDs}` with `${data.essentials.alertTargetIDs[0]}`, since `alertTargetIDs` is an array and must be accessed with an index.
@xuegao112 : Thanks for your contribution! The author(s) and reviewer(s) have been notified to review your proposed change. |
Learn Build status updates of commit cf25588: ✅ Validation status: passed
For more details, please refer to the build report. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes an incorrect email subject example in the Azure Monitor alert customization documentation by properly accessing array elements in the common alert schema.
- Updated email subject template to use proper array indexing syntax
- Corrected
alertTargetIDs
reference to access the first element with[0]
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
@xuegao112 did you intend to open this PR in the private repo? It looks like you have access to the private repo, and if so, you should use that for content updates. I'll leave this PR open in case @IngridAtMicrosoft wants to review it here. If you decide to open a new PR in the private repo, please close this PR. Thanks. Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, adding a #label:"aq-pr-triaged" |
This pull request has been inactive for at least 14 days. If you are finished with your changes, don't forget to sign off. See the contributor guide for instructions. |
Updated the email subject example in the alert customization documentation to use the correct syntax for array fields in the common alert schema. Replaced
${data.essentials.alertTargetIDs}
with${data.essentials.alertTargetIDs[0]}
, sincealertTargetIDs
is an array and must be accessed with an index.